package Fuxi;

import java.util.Arrays;

public class WarmUp {

	public String extraEnd(String str) {
		String result = "";
		String str0 = str.substring(str.length() - 2, str.length());
		if (str.length() < 3) {
			result = str + str + str;
		} else {
			result = str0 + str0 + str0;
		}
		return result;
	}



	public static void main(String[] args) {
		WarmUp wu = new WarmUp();
		String str = "Hello";
		System.out.println(wu.extraEnd(str));
		System.out.println("to".concat("get".concat("her")));
		int a=1; String s= "00";
		System.out.println(a+s);
	}
}
